<?php
define('IN_ZYS', true);
require(dirname(__FILE__) . '/includes/init.php');

$act=$_REQUEST['act'];
if($act=="qysh"){
	$r_id=$_POST['id'];
	$sql ="SELECT s_id,shop_name FROM ".ly()."shop where  del_status='0' and r_id='{$r_id}'";
	$re = $GLOBALS['db']->query($sql);
	while($rows = $GLOBALS['db']->fetchRow($re)){
		echo "<option value='".$rows['s_id']."'>".$rows['shop_name']."</option>";
	}
}





?>